package adminDynamicEnumModel

import (
	commonModel "gitee.com/krio/ginc/example/internal/common/model/common"
)

const DynamicEnumValueTableName = "dynamic_enum_value"

func (*DynamicEnumValue) TableName() string {
	return DynamicEnumValueTableName
}

type DynamicEnumValue struct {
	commonModel.Basic `xorm:"extends"`
	EnumKey           string                 `xorm:"varchar(50) 'enum_key' comment('枚举标识')"`
	ValueName         string                 `xorm:"varchar(100) 'value_name' comment('成员名称')"`
	CharValue         string                 `xorm:"varchar(100) 'char_value' comment('字符值')"`
	CodeValue         int64                  `xorm:"bigint 'code_value' comment('编码值')"`
	AfterId           int64                  `xorm:"bigint 'after_id' comment('排序')"`
	Status            commonModel.DataStatus `xorm:"int 'status' comment('状态')"`
}
